package calao.util.xml;

public class XmlParseException extends Exception {

	final int line, column;

	XmlParseException(XmlParser parser, String msg)	{
		this(parser, msg, parser.line, parser.column);
	}

	XmlParseException(XmlParser parser, String msg, int line, int column) {
		super("Position ["+line+","+column+"]: "+msg);
		this.line = line;
		this.column = column;
	}

}
